package com.oocl.o2o.merchant.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class RouteController {
	@GetMapping("/register")
	public String register() {
		return "register";
	}

	@GetMapping("/login")
	public String login() {
		return "login";
	}

	@GetMapping("/sec/home")
	public String home() {
		return "home";
	}

	@GetMapping("/sec/merchant")
	public String merchant() {
		return "merchant";
	}

	@GetMapping("/sec/order")
	public String order() {
		return "order";
	}

	@GetMapping("/sec/food")
	public String food() {
		return "food";
	}

	@GetMapping("/sec/advertisement")
	public String advertisement() {
		return "advertisement";
	}

	@GetMapping("/sec/commentary")
	public String commentary() {
		return "commentary";
	}

}
